list01 = [1,2,3,4]
for item in list01:
    print(item,end=" ")
print(" ")

iterator = list01.__iter__()
while True:
    try:
        item = iterator.__next__()
        print(item,end="  ")
    except StopIteration:
        break
            

